package com.tarena.lbs.content.service;

import com.tarena.lbs.content.pojo.param.ArticleActionParam;
import com.tarena.lbs.content.pojo.param.ArticleContentParam;
import com.tarena.lbs.content.pojo.query.ArticleQuery;
import com.tarena.lbs.content.pojo.vo.ArticleActionPageResultVO;
import com.tarena.lbs.content.pojo.vo.ArticleVO;

import java.util.List;
import java.util.Set;

public interface ArticleService {


    void insertArticle(ArticleContentParam param);


    List<ArticleVO> select(ArticleQuery articleQuery);
    ArticleVO articleDetail(String id);

    List<ArticleActionPageResultVO> articleBehavior(ArticleActionParam param);

    Set<String> articleLabels(ArticleQuery articleQuery);

    void delete(Integer id);

    void updateArticle(String articleName);
}
